package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Demon
 * @description 接收卡温控继电器参数
 * @date 22/3/2024  上午10:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ReceiverTemperatureControlParam implements Trans<ReceiverTemperatureControlParam, CompleteEntity.ReceiverTemperatureControlParam> {
	/**
	 * 发送卡序号(-1代表广播)
	 * 网口号(-1代表广播)
	 * 接收卡序号(-1代表广播)
	 * 继电器开启时的温度(-127~128℃)
	 * 继电器开启时的电平 0低电平 1高电平
	 */
	private Integer prcIndex;
	private Integer portIndex;
	private Integer receiverIndex;
	private Integer temperatureThreshold;
	private Integer polarity;
}
